<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>指尖金融</title>
<link href="../../../css/common.css" type="text/css" rel="stylesheet">
<link href="../../../css/base.css" type="text/css" rel="stylesheet">
<link href="serviceFeeIncome.css" type="text/css" rel="stylesheet">
<link href="../../../res/png/icon.png" rel="shortcut icon" />
<link rel="stylesheet" type="text/css"
	href="../../../js/My97DatePicker/skin/WdatePicker.css" />

<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />	
<link rel="stylesheet" type="text/css" href="./clientAuthentication.css" />
</head>

<body>
	<div class="wrapper">
		<!-- 顶部菜单栏 -->
		<div id="header" class="header"></div>
		<div class="main" id="main">
			<!-- 左侧菜单栏 -->
			<div id="leftMenu" class="left"></div>
			<div class="pages">
				<div class="table-section none page" id="searchEnterprise">
					<p class="table-head">
						<label class="table-title">当前位置:收益</label>
					</p>
					<div class="container2" style="margin-top: -25px;">
						<ul
							style="width: 1210px; height: 142px; margin-left: 25px; margin-top: 30px;">
							<li class="line1">
								<div class="main_img" style="margin: 10px;">
									<div class="float_div">
										<img class="img_ico" src="../../../res/png/u10669.png">
									</div>
									<span style="font-size: 14px;">总放款金额（万元）<br /> <label
										id="loanAmount"
										style="position: absolute; left: 65px; top: 60px; font-size: 28px; color: #FF0000; text-align: center; line-height: 20px;width: 100%;margin-left: -55px;display: block;"></label></span>
									<div class="businessdata">
										<div class="span2" style="width:50%;float:left;">
											日环比 <img id="rihuanbi1" src="../../../res/png/u11408.png"><label
												id="loanAmountIncrease"></label> 
										</div>
										<div class="span2" style="width:50%;float:right;">
											金额 <img id="jine2" src="../../../res/png/u11415.png"><label
												id="loanAmountRiseFall"></label>
										</div>
									</div>
								</div>
							</li>
							<li class="line1">
								<div class="main_img" style="margin: 10px;">
									<div class="float_div">
										<img class="img_ico" src="../../../res/png/u10669.png">
									</div>
									<span style="font-size: 14px;">昨日收益（元）<br /> <label
										id="yestodayEarning"
										style="position: absolute; left: 85px; top: 60px; font-size: 28px; color: #FF0000; text-align: center; line-height: 20px;width: 100%;margin-left: -55px;display: block;"></label></span>
									<div class="businessdata">
										<div class="span2" style="width:50%;float:left;">
											  日环比 <img id="rihuanbi2" src=""><label
												id="yestodayEarningIncrease"></label>     
										</div>
										<div class="span2" style="width:50%;float:right;">
											金额<img id="jine2" src="../../../res/png/u11415.png"><label
												id="yestodayEarningRiseFall"></label>
										</div>
									</div>

								</div>
							</li>
							<li class="line1">
								<div class="main_img" style="margin: 10px;">
									<div class="float_div">
										<img class="img_ico" src="../../../res/png/u10669.png">
									</div>
									<span style="font-size: 14px;">总收益（万元）/年<br /> <label
										id="totalEarning"
										style="position: absolute; left: 81px; top: 60px; font-size: 28px; color: #FF0000; text-align: center; line-height: 20px;width: 100%;margin-left: -55px;display: block;"></label></span>
									<div class="businessdata">
										<div class="span2" style="width:50%;float:left;">
											 日环比 <img id="rihuanbi3" src="../../../res/png/u11408.png"><label
												id="totalEarningIncrease"></label> 
										</div>
										<div class="span2" style="width:50%;float:right;">
											金额 <img id="jine2" src="../../../res/png/u11415.png"><label
												id="totalEarningRiseFall"></label>
										</div>
									</div>
								</div>
							</li>
							<li class="line1">
								<div class="main_img" style="margin: 10px;">
									<span style="font-size: 14px;">
										<!-- <input style="width: 210px;height: 30px;position: absolute;left: 20px; top: 20px" class="field-input Wdate FromTime" type="text"
											id="publishFromTime" name="createDateTimeBegin" placeholder="请输入时间" onFocus="WdatePicker({})" /> -->
										<input style="top: 20px;" class="field-input Wdate FromTime" type="text" id="publishFromTime" name="createDateTimeBegin" placeholder="请输入时间" onFocus="WdatePicker({})" />- 
										<input style="top: 20px;" class="field-input Wdate ToTime" type="text" id="publishToTime" name="createDateTimeEnd" placeholder="请输入时间" onFocus="WdatePicker({minDate:$('#publishFromTime').val()})" />
											<br>
											<button style="position: absolute; left: 58px; top: 80px; text-align: center; line-height: 20px;width: 140px;height: 30px;" class="table-search-button" id="serviceFffIncomeList" action="inquireDaysEarningPageList.json">查询</button>
									</span>
									<div>
										
									</div>
								</div>
							</li>
						</ul>
						<div id="applyType" class="applyType1">
							<span applyType="applyType1"
								action="inquireDaysEarningPageList.json"
								class="active_applyType" type="pickupId">昨日收益（服务费）</span><span
								type="pickupId"
								action="inquireSaysEarningEnterprisePageList.json"
								applyType="applyType2">按企业</span>
								<!-- <span action="inquirePickupDelayApplicationPageList.json"
								applyType="applyType3" type="pickupDelayId">其它</span> -->
						</div>
						<div class="tableSearch"  id="tableS1">
							<div class="searchLine">
								<div>
									融资编号：<input type="text" name="financeNumber" placeholder="请输入融资编号">
								</div>
								<div>
									企业名称：<input type="text" name="enterpriseName" placeholder="请输入企业名称">
								</div>
								<div>
									<button class="table-search-buttons" id="serviceFeeQuery" action="inquireDaysEarningPageList.json">查询</button>
									<button class="exportYesterdayEarnings">导出</button>
								</div>
							</div>
						</div>
						<div class="tableSearch"  id="tableS2" style="display:none;">
							<div class="searchLine">
								<div>
									企业名称：<input type="text" name="enterpriseName" placeholder="请输入企业名称">
								</div>
								<div>
									
								</div>
								<div>
									<button class="table-search-buttons" id="serviceFeeQuery2" action="inquireSaysEarningEnterprisePageList.json">查询</button>
									<button class="exportByEnterprise">导出</button>
								</div>
							</div>
						</div>
						<div class="dataContent"
							style="margin-left: 0px; margin-right: 0px;">
							<table id="accountRecordApplyListBodyss" class="table">
							</table>
						</div>
						<script type="text/template" id="accountRecordApplyListTpl">
						<tr>
							<th>No</th>
							<th>融资编号/放款时间</th>
							<th>企业名称</th>
							<th>业务类型</th>
							<th>还款方式</th>
							<th>费率</th>
							<th>剩余本金</th>
							<th>服务费</th>
							<th>逾期费</th>
							<th>时间</th>
							<th>状态</th>
							<th>操作</th>
						</tr>
						{@each datas as it,index}
							<tr financeId="${it.financeId}" enterpriseId="${it.enterpriseId}" daysEarningId="${it.daysEarningId}" financeNumber="${it.financeNumber}" interestDate="${it.interestDate}">
								<td>${index*1 + 1}</td>
								<!--<td><a href="javascript:void(0);" class="order_num">${it.financeNumber}</a><br />${it.loanDate}</td>
								<td><a href="javascript:void(0);" class="enter_name">${it.enterpriseName}</a></td>-->
								<td>${it.financeNumber}<br />${it.loanDate}</td>
								<td>${it.enterpriseName}</td>
								<td>${getValueByKey(7, it.productType)}</td>
								<!--<td>${it.payMethod}</td>-->
								<td>按月付息到期还本</td>
								<td>${it.interestRate}%</td>
								<td>&#65509;${formatCurrency(it.bulkstockValuation)}</td>
								<td>&#65509;${formatCurrency(it.interest)}</td>
								<td>&#65509;${formatCurrency(it.lateFee)}</td>
								<td>${it.interestDate}</td>
								<td>${getValueByKey(30, it.financeState)}</td>
								<td><a class="detailApplication">详情</a></td>
							</tr>
							</div>
						{@/each}
					</script>
					<script type="text/template" id="accountRecordApplyListTpl1">
						<tr>
							<th>No</th>
							<th>企业名称</th>
							<th>总融资金额</th>
							<th>总剩余本金</th>
							<th>总服务费</th>
							<th>逾期费</th>	
							<th>时间</th>
							<th>操作</th>
						</tr>
						{@each datas as it,index}
							<tr enterpriseId="${it.enterpriseId}" financeId="${it.financeId}" enterpriseName="${it.enterpriseName}" interestDt="${it.interestDt}">
								<td>${index*1 + 1}</td>
								<!--<td><a href="javascript:void(0);" class="enterprise_Date">${it.enterpriseName}</a></td>-->
								<td>${it.enterpriseName}</td>
								<td>&#65509;${formatCurrency(it.financeAmount)}</td>
								<td>&#65509;${formatCurrency(it.bulkstockValuation)}</td>
								<td>&#65509;${formatCurrency(it.interest)}</td>
								<td>&#65509;${formatCurrency(0)}</td>
								<td>${it.interestDt}</td>
								<td><a class="detailApplication2">详情</a></td>
							</tr>
						{@/each}
						</script>
						<!--  <script type="text/template" id="accountRecordApplyListTpl2">
							<tr>
								<th>No</th>
								<th>融资编号/放款日期</th>
								<th>企业名称</th>
								<th>业务类型</th>
								<th>收益类型</th>
								<th>服务费</th>
								<th>时间</th>
								<th>状态</th>
							</tr>
							{@each datas as it,index}
							<tr interestDelayId="${it.interestDelayId}" financeId="${it.financeId}" pickupId="${it.pickupId}" detainedId="${it.detainedId}" pickupDelayId="${it.pickupDelayId}">
								<td>${index*1 + 1}</td>
								<td>
									<span class="order_num">${it.financeNumber}<span class="callback">${getValueByKey(71, it.callback)}</span></span><br/>
									${it.loanDate}
								</td>
								<td>${it.enterpriseName}</td>
								<td>${getValueByKey(7, it.productType)}</td>
								<td>"shouyi"</td>
								<td>${item.amount}%</td>
								<td>${it.applicationDateTime}</td>
								<td>${getValueByKey(57, it.financeConstractState)}</td>
							</tr>
							{@/each}
						</script>-->
						<div id="changepage" class="pagerCon"></div>
					</div>
				</div>
			</div>
			<div id="popdialog"></div>
		</div>
		<!-- 底部 -->
		<div class="footer none" id="footer" style="width: 1910px;">底部栏</div>
		<!--删除确认框-->
		<div class="dialog none" id="confirmDialog" style="width: 300px;">
			<div class="dialogTitle"></div>
			<button class="closeDiv">×</button>
			<div class="dialogContent"></div>
			<div class="footerBtn">
				<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
			</div>
		</div>
		<div id="popdialog"></div>
		<!--删除确认框-->
		<div class="dialog none" id="confirmDialog" style="width: 300px;">
			<div class="dialogTitle"></div>
			<button class="closeDiv">×</button>
			<div class="dialogContent"></div>
			<div class="footerBtn">
				<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
			</div>
		</div>
		<div id="fullBg"></div>
		<div id="popdialog"></div>
	</div>
	<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
	<!-- <script type="text/javascript" src="../../../component/layer/layer.js"></script> -->
	<script src="../../../component/layer/layer.js" type="text/javascript" charset="utf-8"></script>
	<!-- <script src="../../../component/layer/layer.js" type="text/javascript" charset="utf-8"></script> -->
	<script src="../../../component/upload/jquery.ui.widget.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/upload/jquery.iframe-transport.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/upload/jquery.fileupload.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/PCAS/PCASClass.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/upload/jquery.ui.widget.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/upload/jquery.iframe-transport.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/upload/jquery.fileupload.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
	<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
	<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
	<script type="text/javascript" src="../../../js/platform/config.js"></script>
	<script type="text/javascript" src="../../../js/juicer-min.js"></script>
	<script src="../../../js/ajaxfileupload.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="../../../js/My97DatePicker/WdatePicker.js"
		type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../../component/PCAS/PCASClass.js" type="text/javascript" charset="utf-8"></script>
	
	<script type="text/javascript">
		seajs.use('./serviceFeeIncome', function(serviceFeeIncome) {
			serviceFeeIncome.init();
		});
	</script>
</body>

</html>